projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56ac58c
)
wayland: Use current serial when setting selection, not _wl_time_now()
author
Kristian Høgsberg
<krh@bitplanet.net>
Sat, 24 Aug 2013 06:05:33 +0000
(23:05 -0700)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Sat, 24 Aug 2013 06:15:53 +0000
(23:15 -0700)
The wl_data_device.set_selection request expects a serial number.
gdk/wayland/gdkdevice-wayland.c
patch
|
blob
|
history
diff --git
a/gdk/wayland/gdkdevice-wayland.c
b/gdk/wayland/gdkdevice-wayland.c
index cb465d90e7ac516dcfd3ed7d3d94624ac51bbd7c..b4460c040c6e03197eff1b35661f88aa4986a880 100644
(file)
--- a/
gdk/wayland/gdkdevice-wayland.c
+++ b/
gdk/wayland/gdkdevice-wayland.c
@@
-1668,7
+1668,7
@@
gdk_wayland_device_offer_selection_content (GdkDevice
wl_data_device_set_selection (device->data_device,
offer->source,
- _
wl_time_now (
));
+ _
gdk_wayland_display_get_serial (display_wayland
));
device->selection_offer_out = offer;